Android Develop Collection
Meow King October 21, 2023 Updated: October 21, 2023 #android #collectionOfficial Documentation Links
-
all core areas: link to the documentation chapter related to important core areas
-
App resources overview qualifiers (apply specific resources for specific applications); create alias resources; etc.
- language sub-tags:
- https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
- https://developer.android.com/reference/java/util/Locale
- language sub-tags:
-
Support different pixel densities
- notes: use
dp
for UI,sp
for text.
- notes: use
-
Support different screen sizes
The image showing the width of compact/middle/expanded layout may be useful
Articles
- Material Design 3 in Compose Things you should know regarding using material 3 in jetpack compose: Color, Typography, Shapes, Elevation, ...
Hilt
- Room + Dagger Hilt Jetpack Compose Material 3
- Dependency injection with Hilt
Important To use hilt with other libraries, please read: Use Hilt with other Jetpack libraries
Color
-
Android styling: common theme attributes: common theme attributes and their use case
-
Offical Documentation - R.attr: search
color
to show app defined attributions. -
Create ViewModels with dependencies Kotlin ViewModel factory DSL, to create factories using a more idiomatic Kotlin API
Font Size
Material Defined Text Size: - Material 3 - Material 2
Code Labs
NOTE: Many of these code labs are part of a series, so it's better to take a look at the courses when you cannot follow the specific code labs listed here.
-
Fragments and the Navigation Component
- Fragment life circle: p3
-
Adaptive layouts: Sliding Panel Layout
Jetpack Compose
Tools
Color
- Material Theme Builder
- Baseline color scheme You can view the colors and some of them have comment on the side when clicked.
Components
-
androidx.compose.material3 You can get a full list of Jetpack Compose component in material 3 (jetpack compose default components in current version)
If you want to check Material 2 Components, please visit androidx.compose.material -
Material components in Compose Guide for some important components
-
Jetpack Compose Playground
Community-driven collection of Jetpack Compose example code and tutorials 🚀
https://foso.github.io/Jetpack-Compose-Playground/
Example Applications
-
Reply App
jetpack compose, navigation control, adaptive layout for small, medium and large screen devices.